package de.thw.web.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import de.thw.web.dao.SystemSettingDAO;
import de.thw.web.model.SystemSetting;
import de.thw.web.service.SystemSettingService;

@Service
public class SystemSettingServiceImpl extends
		AbstractServiceImpl<SystemSetting> implements SystemSettingService {

	@Autowired
	private SystemSettingDAO daoSystemSettings;

	// /////////////////////////////////////////////////////////////////////////////

	@Transactional
	public void save(SystemSetting object) {
		super.save(object, this.daoSystemSettings);
	};

	@Transactional
	public SystemSetting load(String uid) {
		return super.load(uid, this.daoSystemSettings);
	};

	@Transactional
	public List<SystemSetting> getAll() {
		return super.getAll(this.daoSystemSettings);
	};

};